//
//  BCIPAddressHelper.h
//  BanChinaFramework
//
//  Created by Ann on 2024/3/11.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
typedef enum : NSUInteger {
    BCIPAddressChinaUserUnknown,//未知
    BCIPAddressChinaUserYES,//中国区
    BCIPAddressChinaUserNO,//非中国区
} BCIPAddressChinaUser;

typedef void (^IPCompletionHandler)(NSString * _Nullable ipAddress);

@interface BCIPAddressHelper : NSObject

+ (void)interceptChinaUserHandler:(void (^_Nullable)(BCIPAddressChinaUser user))completed;

@end

NS_ASSUME_NONNULL_END
